@charset "UTF-8";
/*
sass定义函数
*/
h1 {
  color: red;
}

.wrap {
  width: 200px;
  height: 200px;
  background-color: red;
}

.wrap .inner {
  width: 200px;
  height: 110px;
  background-color: yellow;
}

.box1 {
  width: 300px;
  height: 300px;
  background-color: red;
  position: relative;
}

.box1 .box2 {
  width: 100px;
  height: 200px;
  background-color: yellowgreen;
  position: absolute;
  left: 0;
  top: 0;
  right: 400px;
  bottom: 0;
  margin: auto;
}
